import numpy as np
import pandas as pd
import matplotlib.pyplot as plt  # 画图的画笔

data = pd.read_excel("./体测分数_女生.xls")
print(data)
nvP = data['女800米跑']
print(np.shape(nvP))
count, bins, fig = plt.hist(data.女800米跑, bins=4, color='red')
plt.show()
